package com.zanfeng.signleplatform.api.io.modules.auth;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@ApiModel(value = "ModuleDetailIO", description = "菜单详情表单")
public class ModuleDetailIO implements Serializable {

    @ApiModelProperty(value = "主键ID")
    private Integer id;
    @ApiModelProperty(value = "父模块ID")
    private Integer moduleParentId;
    @ApiModelProperty(value = "父模块名称")
    private String moduleParentName;
    @ApiModelProperty(value = "名称")
    private String moduleName;
    @ApiModelProperty(value = "码值")
    private String moduleCode;
    @ApiModelProperty(value = "模块URL")
    private String moduleUrl;
    @ApiModelProperty(value = "排序字段")
    private Integer orderNum;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "子节点数量")
    private Integer childrenSize;
    @ApiModelProperty(value = "状态 0/未发布,1/已发布")
    private Integer isPublish;

    public ModuleDetailIO() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getModuleParentId() {
        return moduleParentId;
    }

    public void setModuleParentId(Integer moduleParentId) {
        this.moduleParentId = moduleParentId;
    }

    public String getModuleParentName() {
        return moduleParentName;
    }

    public void setModuleParentName(String moduleParentName) {
        this.moduleParentName = moduleParentName;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getModuleCode() {
        return moduleCode;
    }

    public void setModuleCode(String moduleCode) {
        this.moduleCode = moduleCode;
    }

    public String getModuleUrl() {
        return moduleUrl;
    }

    public void setModuleUrl(String moduleUrl) {
        this.moduleUrl = moduleUrl;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getChildrenSize() {
        return childrenSize;
    }

    public void setChildrenSize(Integer childrenSize) {
        this.childrenSize = childrenSize;
    }

    public Integer getIsPublish() {
        return isPublish;
    }

    public void setIsPublish(Integer isPublish) {
        this.isPublish = isPublish;
    }
}
